package com.sky.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 套餐 Mapper 接口
 * </p>
 *
 * @author mr.meng
 * @since 2025-10-19
 */
@Mapper
public interface SetmealMapper {

    /**
     * 查询分类关联的套餐数量
     * @param id
     * @return
     */
    @Select("select count(*) from setmeal where category_id=#{id}")
    Long selectByCateId(Long id);
}
